package code_rhapsody.binary_tree;

/**
 * @author Synhard
 * @version 1.0
 * @class TreeNode
 * @description TreeNode Data Structure
 * @tel 13001321080
 * @email 823436512@qq.com
 * @date 2021-08-03 8:42
 */
public class TreeNode {
    int val;
    TreeNode left;
    TreeNode right;

    TreeNode() {
    }

    TreeNode(int val) {
        this.val = val;
    }

    TreeNode(int val, TreeNode left, TreeNode right) {
        this.val = val;
        this.left = left;
        this.right = right;
    }
}